<!DOCTYPE HTML>
<html lang="zh-CN">


<head>
    <meta charset="utf-8">
    <meta name="keywords" content="duocai, 天蝎小屋">
    <meta name="description" content="">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
    <meta name="renderer" content="webkit|ie-stand|ie-comp">
    <meta name="mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
    <!-- Global site tag (gtag.js) - Google Analytics -->


    <title>duocai | 天蝎小屋</title>
    <link rel="icon" type="image/png" href="/wuxian.png">

    <link rel="stylesheet" type="text/css" href="/libs/awesome/css/all.css">
    <link rel="stylesheet" type="text/css" href="/libs/materialize/materialize.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/aos/aos.css">
    <link rel="stylesheet" type="text/css" href="/libs/animate/animate.min.css">
    <link rel="stylesheet" type="text/css" href="/libs/lightGallery/css/lightgallery.min.css">
    <link rel="stylesheet" type="text/css" href="/css/matery.css">
    <link rel="stylesheet" type="text/css" href="/css/my.css">

    <script src="/libs/jquery/jquery.min.js"></script>

<link rel="stylesheet" href="/css/prism-tomorrow.css" type="text/css"></head>



   <style>
    body{
       background-image: url(http://img.mm4000.com/file/e/c5/be9df169fe.jpg);
       background-repeat:no-repeat;
       background-size:cover;
       background-attachment:fixed;
    }
</style>



<body>
    <header class="navbar-fixed">
    <nav id="headNav" class="bg-color nav-transparent">
        <div id="navContainer" class="nav-wrapper container">
            <div class="brand-logo">
                <a href="/" class="waves-effect waves-light">
                    
                    <img src="/%E6%97%A0%E9%99%90%E6%98%9F.png" class="logo-img" alt="LOGO">
                    
                    <span class="logo-span">天蝎小屋</span>
                </a>
            </div>
            

<a href="#" data-target="mobile-nav" class="sidenav-trigger button-collapse"><i class="fas fa-bars"></i></a>
<ul class="right nav-menu">
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/" class="waves-effect waves-light">
      
      <i class="fas fa-home" style="zoom: 0.6;"></i>
      
      <span>首页</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/tags" class="waves-effect waves-light">
      
      <i class="fas fa-tags" style="zoom: 0.6;"></i>
      
      <span>标签</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/categories" class="waves-effect waves-light">
      
      <i class="fas fa-bookmark" style="zoom: 0.6;"></i>
      
      <span>分类</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/archives" class="waves-effect waves-light">
      
      <i class="fas fa-archive" style="zoom: 0.6;"></i>
      
      <span>归档</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/about" class="waves-effect waves-light">
      
      <i class="fas fa-user-circle" style="zoom: 0.6;"></i>
      
      <span>关于</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/contact" class="waves-effect waves-light">
      
      <i class="fas fa-comments" style="zoom: 0.6;"></i>
      
      <span>留言板</span>
    </a>
    
  </li>
  
  <li class="hide-on-med-and-down nav-item">
    
    <a href="/friends" class="waves-effect waves-light">
      
      <i class="fas fa-address-book" style="zoom: 0.6;"></i>
      
      <span>友情链接</span>
    </a>
    
  </li>
  
  <li>
    <a href="#searchModal" class="modal-trigger waves-effect waves-light">
      <i id="searchIcon" class="fas fa-search" title="搜索" style="zoom: 0.85;"></i>
    </a>
  </li>
</ul>


<div id="mobile-nav" class="side-nav sidenav">

    <div class="mobile-head bg-color">
        
        <img src="/%E6%97%A0%E9%99%90%E6%98%9F.png" class="logo-img circle responsive-img">
        
        <div class="logo-name">天蝎小屋</div>
        <div class="logo-desc">
            
            Never really desperate, only the lost of the soul.
            
        </div>
    </div>

    

    <ul class="menu-list mobile-menu-list">
        
        <li class="m-nav-item">
	  
		<a href="/" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-home"></i>
			
			首页
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/tags" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-tags"></i>
			
			标签
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/categories" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-bookmark"></i>
			
			分类
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/archives" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-archive"></i>
			
			归档
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/about" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-user-circle"></i>
			
			关于
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/contact" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-comments"></i>
			
			留言板
		</a>
          
        </li>
        
        <li class="m-nav-item">
	  
		<a href="/friends" class="waves-effect waves-light">
			
			    <i class="fa-fw fas fa-address-book"></i>
			
			友情链接
		</a>
          
        </li>
        
        
    </ul>
</div>


        </div>

        
    </nav>

</header>

    
<script src="/libs/cryptojs/crypto-js.min.js"></script>
<script>
    (function() {
        let pwd = '';
        if (pwd && pwd.length > 0) {
            if (pwd !== CryptoJS.SHA256(prompt('请输入访问本文章的密码')).toString(CryptoJS.enc.Hex)) {
                alert('密码错误，将返回主页！');
                location.href = '/';
            }
        }
    })();
</script>




<div class="bg-cover pd-header post-cover" style="background-image: url('/medias/featureimages/11.jpg')">
    <div class="container" style="right: 0px;left: 0px;">
        <div class="row">
            <div class="col s12 m12 l12">
                <div class="brand">
                    <h1 class="description center-align post-title">duocai</h1>
                </div>
            </div>
        </div>
    </div>
</div>




<main class="post-container content">

    
    <link rel="stylesheet" href="/libs/tocbot/tocbot.css">
<style>
    #articleContent h1::before,
    #articleContent h2::before,
    #articleContent h3::before,
    #articleContent h4::before,
    #articleContent h5::before,
    #articleContent h6::before {
        display: block;
        content: " ";
        height: 100px;
        margin-top: -100px;
        visibility: hidden;
    }

    #articleContent :focus {
        outline: none;
    }

    .toc-fixed {
        position: fixed;
        top: 64px;
    }

    .toc-widget {
        width: 345px;
        padding-left: 20px;
    }

    .toc-widget .toc-title {
        margin: 35px 0 15px 0;
        padding-left: 17px;
        font-size: 1.5rem;
        font-weight: bold;
        line-height: 1.5rem;
    }

    .toc-widget ol {
        padding: 0;
        list-style: none;
    }

    #toc-content {
        height: calc(100vh - 250px);
        overflow: auto;
    }

    #toc-content ol {
        padding-left: 10px;
    }

    #toc-content ol li {
        padding-left: 10px;
    }

    #toc-content .toc-link:hover {
        color: #42b983;
        font-weight: 700;
        text-decoration: underline;
    }

    #toc-content .toc-link::before {
        background-color: transparent;
        max-height: 25px;

        position: absolute;
        right: 23.5vw;
        display: block;
    }

    #toc-content .is-active-link {
        color: #42b983;
    }

    #floating-toc-btn {
        position: fixed;
        right: 15px;
        bottom: 76px;
        padding-top: 15px;
        margin-bottom: 0;
        z-index: 998;
    }

    #floating-toc-btn .btn-floating {
        width: 48px;
        height: 48px;
    }

    #floating-toc-btn .btn-floating i {
        line-height: 48px;
        font-size: 1.4rem;
    }
</style>
<div class="row">
    <div id="main-content" class="col s12 m12 l9">
        <!-- 文章内容详情 -->
<div id="artDetail">
    <div class="card">
        <div class="card-content article-info">
            <div class="row tag-cate">
                <div class="col s7">
                    
                          <div class="article-tag">
                            <span class="chip bg-color">无标签</span>
                          </div>
                    
                </div>
                <div class="col s5 right-align">
                    
                </div>
            </div>

            <div class="post-info">
                
                <div class="post-date info-break-policy">
                    <i class="far fa-calendar-minus fa-fw"></i>发布日期:&nbsp;&nbsp;
                    2020-11-16
                </div>
                

                
                <div class="post-date info-break-policy">
                    <i class="far fa-calendar-check fa-fw"></i>更新日期:&nbsp;&nbsp;
                    2020-11-16
                </div>
                

                
                <div class="info-break-policy">
                    <i class="far fa-file-word fa-fw"></i>文章字数:&nbsp;&nbsp;
                    1.3k
                </div>
                

                
                <div class="info-break-policy">
                    <i class="far fa-clock fa-fw"></i>阅读时长:&nbsp;&nbsp;
                    6 分
                </div>
                

                
                    <div id="busuanzi_container_page_pv" class="info-break-policy">
                        <i class="far fa-eye fa-fw"></i>阅读次数:&nbsp;&nbsp;
                        <span id="busuanzi_value_page_pv"></span>
                    </div>
				
            </div>
        </div>
        <hr class="clearfix">
        <div class="card-content article-card-content">
            <div id="articleContent">
                <!DOCTYPE html><html lang="zh-cn"><head><meta charset="UTF-8"><meta http-equiv="Content-Type" content="text/html"><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"><meta name="renderer" content="webkit"><meta name="HandheldFriendly" content="true"><meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no,minimum-scale=1,maximum-scale=1"><link rel="dns-prefetch" href="//fonts.googleapis.com"><link rel="dns-prefetch" href="//cdn.jsdelivr.net"><link rel="icon" type="image/png" href="https://pic.heson10.com/wallpapers/favicon.png"><link href="https://pic.heson10.com/wallpapers/favicon.png" rel="icon"><link rel="apple-touch-icon-precomposed" href="https://pic.heson10.com/wallpapers/favicon.png"><title>测试多彩标签 - 黑石博客 - Hexo博客</title><link href="https://fonts.googleapis.com/css2?family=Mulish&display=swap" rel="stylesheet" media="print" onload="this.media="all""><link href="https://cdn.jsdelivr.net/gh/heson10/pic@master/css/app.min.css" rel="stylesheet"><link href="https://cdn.jsdelivr.net/gh/heson10/pic@master/css/duta.css" rel="stylesheet"><link rel="stylesheet" href="/css/Main.css"><link href="https://cdn.jsdelivr.net/gh/heson10/pic@master/css/UI.css" rel="stylesheet"><link href="https://cdn.jsdelivr.net/npm/tiny-slider@2.9.2/dist/tiny-slider.css" rel="stylesheet"><script async src="https://at.alicdn.com/t/font_1826851_x246yki7bra.js"></script><script src="https://cdn.jsdelivr.net/npm/jquery@3.5/dist/jquery.min.js"></script><script src="https://cdn.jsdelivr.net/gh/heson10/pic@master/js/loading.js"></script><script src="https://cdn.jsdelivr.net/gh/heson10/pic@master/js/app.min.js"></script><link href="https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;900&display=swap" rel="stylesheet" media="print" onload="this.media="all""><script>var _hmt=_hmt||[];setTimeout(function(){var e=document.createElement("script");e.src="https://hm.baidu.com/hm.js?5fb5fd0062e816d3a3ca2dacf095bc0f",e.defer=!0;var t=document.getElementsByTagName("script")[0];t.parentNode.insertBefore(e,t)},5e3)</script><meta name="generator" content="Hexo 5.2.0"><link rel="alternate" href="/atom.xml" title="黑石博客 - Hexo博客" type="application/atom+xml"></head><div id="clickCanvas" style="position:fixed;left:0;top:0;z-index:999999999;pointer-events:none"></div><style>body,input,select,textarea{font-family:Mulish,-apple-system,'Noto Serif SC',"PingFang SC","Microsoft Yahei UI","Microsoft Yahei",sans-serif}.ajaxcard:hover{transform:unset}</style><script>CUTEEN_SETTING={PJAX:!0,HERO_IMG:!0,IS_MOBILE:!1,NOPA:!1,SITE_URL:"https://www.heson10.com/",THEME_COLOR:0,STATIC_PATH:"/",AJAX_PAGE:!1,HEADROOM:!1,CDN_PATH:"",MUSICDATA1:"115762175",MUSICDATA2:"netease",QIPAO:!0}</script><body><div id="forpc" class="nav w100 fixed clearfix border-box haveimg nobg p1"><div class="flex justify-between mx-auto nav-content items-center"><ul class="bold table nowrap"><li class="pr1 h2 table-cell align-middle sitetitle"><a href="/">黑石博客</a></li><li class="xs-hide px1 h4 table-cell align-middle relative dropdown"><a>🔎找文章</a><div class="mt1 absolute dropblur rounded"><ul class="py1"><li><a class="block px2 p1" href="/archives/">📚归档</a></li><li><a class="block px2 p1" href="/tags/">🔖标签</a></li><li><a class="block px2 p1" href="/categories/">📦分类</a></li></ul></div></li><li class="xs-hide px1 h4 table-cell align-middle relative dropdown"><a>📑页面</a><div class="mt1 absolute dropblur rounded"><ul class="py1"><li><a class="block px2 p1" href="/guestbook/">📬留言板</a></li><li><a class="block px2 p1" href="/links/">🤝友链</a></li><li><a class="block px2 p1" href="/bb/" no-pjax>🔊说说</a></li><li><a class="block px2 p1" href="/lovebb/" no-pjax>💕情侣哔哔</a></li><li><a class="block px2 p1" href="/about/">👑关于</a></li><li><a class="block px2 p1" target="_blank" href="https://github.com/heson525/myhexoblog/tree/main/source/_posts" rel="nofollow noopener">📝撰写</a></li></ul></div></li><li class="xs-hide px1 h4 table-cell align-middle relative dropdown"><a>🚩分站</a><div class="mt1 absolute dropblur rounded"><ul class="py1"><li><a class="block px2 p1" href="/volantis/" no-pjax>🛕Volantis主题</a></li><li><a class="block px2 p1" href="/next/" no-pjax>🕍Next主题</a></li></ul></div></li><li class="xs-hide px1 h4 table-cell align-middle relative"><a target="_blank" rel="noopener" href="https://yf.heson10.com/">💰 要饭</a></li><li class="xs-hide px1 h4 table-cell align-middle relative"><a target="_blank" rel="noopener" href="https://box.heson10.com/">💖 百宝箱</a></li><li class="xs-hide px1 h4 table-cell align-middle relative"><a rel="noopener external nofollow noreferrer noopener" target="_blank" href="https://travellings.now.sh/">🚀 开往</a></li></ul><ul class="table"><li class="table-cell align-middle"><div id="CTPlayer" class="relative flex items-center"></div></li><a class="table-cell align-middle" href="javascript:void(0)" onclick="CuteenFunc.SwitchDarkMode()"><li class="center circle icon ml1 icon align-middle"><svg class="icon" aria-hidden="true"><use id="modeicon" xlink:href="#icon-_moon"/></svg></li></a><a class="table-cell align-middle" href="#" data-izimodal-open="#searchbox" data-izimodal-transitionin="fadeInDown"><li class="center circle icon ml1 icon align-middle"><svg class="icon" aria-hidden="true" width="128" height="128"><use xlink:href="#icon-chazhao"/></svg></li></a></ul></div></div><div id="formobile" class="d-n"><div class="nav w100 fixed clearfix border-box haveimg nobg p1"><div class="flex justify-between items-center z4 mobile_nav"><div id="left-menu" onclick="CuteenFunc.MobileMenu()" class="h3"><i class="fas fa-bars"></i></div><div class="pr1 h2 table-cell align-middle sitetitle"><a href="/">黑石博客</a></div><div class="h3"><a href="#" data-izimodal-open="#searchbox" data-izimodal-transitionin="fadeInDown"><i class="fas fa-search"></i></a></div></div></div><div id="mobar"><nav id="site-navigation" class="fixed top-0 bottom-0 z4 sidebar no-user-select"><div id="nav" class="h100 absolute top-0 bottom-0"><hr><div class="mt4"><div class="Nav_mobile_content flex justify-center items-center"><a onclick="CuteenFunc.MobileMenu()" class="Nav_mobile_logo block circle" href="/about/" style="background-image:url(https://cdn.jsdelivr.net/gh/heson525/pic@master/pic/avatar03.png)"></a></div></div><div class="h4 bold center">黑石博客</div><div class="h5 center mt1">人生在勤，不索何获</div><hr><div class="h6 p2"><li class="fas fa-stream pr1"></li>独立页面</div><li class="px3 py1 h5"><a class="ml2" href="/guestbook/" title="留言板">📬留言板</a></li><li class="px3 py1 h5"><a class="ml2" href="/links/" title="友链">🤝友链</a></li><li class="px3 py1 h5"><a class="ml2" href="/bb/" title="说说" no-pjax>🔊说说</a></li><li class="px3 py1 h5"><a class="ml2" href="/about/" title="关于">👑关于</a></li><li class="px3 py1 h5"><a class="ml2" target="_blank" rel="noopener" href="https://yf.heson10.com/" title="要饭">💰要饭</a></li><li class="px3 py1 h5"><a class="ml2" target="_blank" rel="noopener" href="https://box.heson10.com/" title="百宝箱">💖百宝箱</a></li><li class="px3 py1 h5 mobfl"><span class="ml2 mobzk flex justify-between items-center"><p>🔎找文章</p><i class="fas fa-angle-right"></i></span></li><ul class="mobzkcon pl3 h5" style="display:none"><li class="p1"><a onclick="CuteenFunc.MobileMenu()" class="ml3" href="/archives/" title="📚归档">📚归档</a></li><li class="p1"><a onclick="CuteenFunc.MobileMenu()" class="ml3" href="/tags/" title="🔖标签">🔖标签</a></li><li class="p1"><a onclick="CuteenFunc.MobileMenu()" class="ml3" href="/categories/" title="📦分类">📦分类</a></li></ul><hr><div class="h6 p2"><li class="fas fa-stream pr1"></li>分类页面</div><li class="px3 py1 h5"><a class="ml2" href="/categories/hexo/">🍰 HEXO</a></li><li class="px3 py1 h5"><a class="ml2" href="/categories/WordPress/">🍱 WordPress</a></li><li class="px3 py1 h5"><a class="ml2" href="/categories/生活随笔/" title="生活随笔">🍹 生活随笔</a></li><hr><div class="h6 p2"><li class="fas fa-stream pr1"></li>其他页面</div><li class="px3 py1 h5"><a class="ml2" target="_blank" rel="noopener" href="https://travellings.now.sh/" title="开往">🚀开往</a></li></div><div class="side-toolbar bottom-0 fixed flex items-center justify-center"><div id="CTPlayer-mob" class="relative flex items-center"></div></div></nav></div></div><div id="pjax"><div id="hero" class="w100 overflow-hidden flex relative mb2 pt4 hero-bai" style="height:600px"><div class="w100 h100 left-0 top-0 absolute hero-img"><img class="w100 h100 hero_image lazyload lazyload" data-src="https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/035.jpg" data-srcset="https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/035.jpg" srcset=""></div><div class="z4 relative hero-title p4 mb3 flex w100 justify-center self-center"><div class="bas-title center"><p class="big-title bold">测试多彩标签</p><div class="sub-title mt2"><ul class="h6 flex justify-center"><li class="mr1"><i class="fas fa-clock"></i>2020 年 09 月 28 日</li><div id="lc-pv" data-title="测试多彩标签" data-path="/posts/31061.html"><li class="mr1"><i class="fas fa-eye"></i> <span id="number"></span> 次</li></div><li class="mr1"><i class="fas fa-pen-nib"></i> 492 字</li><li class="postcount"><a href="/posts/31061.html#comments"><i class="fas fa-comments"></i> <span class="valine-comment-count" data-xid="/posts/31061.html">0</span> <span class="leancloud-comments-count">&nbsp;条评论</span></a></li></ul></div></div></div></div><div class="card-box clearfix mx-auto"><div class="card-content mx-auto" style="max-width:1200px"><div id="qjcbl" class="qjcbl md-hide lg-col lg-col-3"><div id="sidebar"><div class="p1"><div class="mybox relative"><div class="widthhhh"><div class="style user-item"><div class="bg_xx"><div class="bg"></div></div><div class="user-bg"></div><a class="user-name" href="/about">黑石&nbsp;(Heson)</a> <img alt src="https://cdn.jsdelivr.net/gh/heson525/pic@master/pic/avatar03.png" class="lazyload" data-srcset="https://cdn.jsdelivr.net/gh/heson525/pic@master/pic/avatar03.png" srcset="" height="60" width="60"><p class="user_des">人生在于折腾,不折腾就退步😏</p><div class="user_info"><li class="ptnum"><a href="/archives/">51<span>文章</span></a></li><li class="frinum"><a href="/categories/">8<span>分类</span></a></li><li class="vitnum"><a href="/tags/">92<span>标签</span></a></li></div></div></div></div></div><div class="p1"><div class="sidebar-1 mybox relative"><div class="widthhhh"><a target="_blank" rel="noopener" href="https://qm.qq.com/cgi-bin/qm/qr?k=2ymZ9hQ7tz9zykn3GMwk1nikIlBtDsxq&jump_from=webapi"><img style="border-radius:5px" src="https://cdn.jsdelivr.net/gh/heson10/pic@master/js/qun33.jpg" class="lazyload" data-srcset="https://cdn.jsdelivr.net/gh/heson10/pic@master/js/qun33.jpg" srcset=""></a></div></div></div><div class="p1"><div class="sidebar-1 mybox relative"><div class="p2"><i class="fab fa-facebook-messenger mr1"></i>最新回复</div><div id="hot-comments"></div></div></div><div class="p1"><div class="mybox sidebar-2 relative"><div class="p2"><i class="fas fa-book-reader mr1"></i>随便看看</div><section class="pb2 px2 mybox-content"><div class="mybox-item relative flex flex-column overflow-hidden new-list-overlay-content"><a class="absolute top-0 left-0 right-0 bottom-0 media-content" href="19246.html" style="background-image:url(https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/005.jpg)"></a><div class="list-content p1 absolute left-0 right-0 bottom-0 w100"><div class="my1 h6"><i class="far fa-clock"></i>2020 年 08 月 01 日</div><div class="list-body"><a href="19246.html" class="list-title overflow-hidden h6">Next7.8主题更换思源宋体</a></div></div></div></section><section class="pb2 px2 mybox-content"><div class="mybox-item relative flex flex-column overflow-hidden new-list-overlay-content"><a class="absolute top-0 left-0 right-0 bottom-0 media-content" href="18074.html" style="background-image:url(https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper-minimalist/2020/005.jpg)"></a><div class="list-content p1 absolute left-0 right-0 bottom-0 w100"><div class="my1 h6"><i class="far fa-clock"></i>2020 年 07 月 06 日</div><div class="list-body"><a href="18074.html" class="list-title overflow-hidden h6">写在最开始</a></div></div></div></section><section class="pb2 px2 mybox-content"><div class="mybox-item relative flex flex-column overflow-hidden new-list-overlay-content"><a class="absolute top-0 left-0 right-0 bottom-0 media-content" href="59108.html" style="background-image:url(https://picup.heson10.com/img/upyun/listtags.png)"></a><div class="list-content p1 absolute left-0 right-0 bottom-0 w100"><div class="my1 h6"><i class="far fa-clock"></i>2020 年 09 月 24 日</div><div class="list-body"><a href="59108.html" class="list-title overflow-hidden h6">Hexo 标签函数 list_tags 用法</a></div></div></div></section></div></div></div></div><div class="cuteup xs-col-12 lg-col lg-col-9"><div class="mybox m1 mb2"><div class="Post_content_box"><nav class="breadcrumb h6"><ul class="flex"><li class="flex items-center pr1"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-shouye1"/></svg><a href="/" title="黑石博客">首页</a></li><li class="flex items-center"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-biaoqian1"/></svg> 暂未分类</li></ul></nav><hr><article id="Post_wysiwyg" class="duta md"><h2 id="文字样式"><a href="#文字样式" class="headerlink" title="文字样式"></a>文字样式</h2><u>下划线</u><br><emp>着重号</emp><br><wavy>波浪线</wavy><br><del>删除线</del><br><kbd>command</kbd> + <kbd>D</kbd><br><darkb-text>这里没有验证码</darkb-text><br><rainbow-text>这是一段彩虹字</rainbow-text><br><blur-text>这里没有验证码</blur-text><h2 id="多彩面板"><a href="#多彩面板" class="headerlink" title="多彩面板"></a>多彩面板</h2><article class="message hong"><div class="message_body"><p>这个爆头，那个爆头</p></div></article><article class="message huang"><div class="message_body"><p>今天老八给你爆个头，爆个什么头捏</p></div></article><article class="message lv"><div class="message_body"><p>我给你爆个柠檬</p></div></article><article class="message lan"><div class="message_body"><p>看这柠檬头是怎么爆的</p></div></article><article class="message zi"><div class="message_body"><p>吧唧吧唧，咔<del>咔咔</del>咔</p></div></article><article class="message moren"><div class="message_body"><p>默认颜色</p></div></article><h2 id="多彩信息面板"><a href="#多彩信息面板" class="headerlink" title="多彩信息面板"></a>多彩信息面板</h2><article class="message hong"><div class="message_header">臭豆腐乳系</div><div class="message_body"><p>凑豆配腐掳，美食界中的博主。不管是腥还是臭，到我嘴里就是肉。奥利给，干了兄弟们！吧唧吧唧，咔<del>咔咔</del>咔。</p></div></article><article class="message huang"><div class="message_header">人生百味系</div><div class="message_body"><p>老铁们啊，尝不到苦辣，你永远不知道酸甜。今天老八给你挑战一把酸甜苦辣咸。奥利给，干了兄弟们！辣椒，吧唧吧唧，苦瓜，吧唧吧唧，柠檬，吧唧吧唧，精盐，老干妈，白糖，咔咔~咕噜咕噜。</p></div></article><article class="message lan"><div class="message_header">嘎嘣脆系</div><div class="message_body"><p>兄弟们，不吃好的，不吃贵的，咱今天整俩嘎嘣脆的。都说圆葱它很辣，到我嘴里我得盘它。奥利给，干就完了。吧唧吧唧，咔<del>咔咔</del>咔。</p></div></article><article class="message lv"><div class="message_header">秘制汉堡系</div><div class="message_body"><p>一日三餐没烦恼，今天就吃老八秘制小汉堡。即实惠，还管饱。凑豆腐，腐掳，加柠檬，你看这汉堡做的行不行。奥利给，兄弟们，造它就完了。吧唧吧唧，咔<del>咔咔</del>咔。</p></div></article><article class="message zi"><div class="message_header">火鸡面系</div><div class="message_body"><p>火鸡面，大辣椒，一顿不吃心刺挠。都说这东西它很辣，到我嘴里我不怕。奥利给，兄弟们，造它就完了。吧唧吧唧，咔<del>咔咔</del>咔。</p></div></article><h2 id="折叠面板"><a href="#折叠面板" class="headerlink" title="折叠面板"></a>折叠面板</h2><details><summary><p>查看图片测试</p></summary><div class="content"><p><img src="https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper/abstract/41F215B9-261F-48B4-80B5-4E86E165259E.jpeg" class="lazyload" data-srcset="https://cdn.jsdelivr.net/gh/volantis-x/cdn-wallpaper/abstract/41F215B9-261F-48B4-80B5-4E86E165259E.jpeg" srcset=""></p></div></details><details cyan open><summary><p>查看默认打开的折叠框</p></summary><div class="content"><p>这是一个默认打开的折叠框。</p></div></details><details green><summary><p>查看代码测试</p></summary><div class="content"><pre class=" language-ejs"><code class="language-ejs"> <%- list_tags([options]) %></code></pre></div></details><details yellow><summary><p>查看列表测试</p></summary><div class="content"><ul><li>haha</li><li>hehe</li></ul></div></details><details red><summary><p>查看嵌套测试</p></summary><div class="content"><details blue><summary><p>查看嵌套测试2</p></summary><div class="content"><details><summary><p>查看嵌套测试3</p></summary><div class="content"><p>hahaha <span><img src="https://cdn.jsdelivr.net/gh/volantis-x/cdn-emoji/tieba/%E6%BB%91%E7%A8%BD.png" class="lazyload" data-srcset="https://cdn.jsdelivr.net/gh/volantis-x/cdn-emoji/tieba/%E6%BB%91%E7%A8%BD.png" srcset="" style="height:24px"></span></p></div></details></div></details></div></details><h2 id="进度条"><a href="#进度条" class="headerlink" title="进度条"></a>进度条</h2><progress class="progress zi" value="20" max="100">20%</progress><progress class="progress hong" value="40" max="100">40%</progress><progress class="progress lan" value="60" max="100">60%</progress><progress class="progress huang" value="80" max="100">80%</progress><progress class="progress lv" value="100" max="100">100%</progress><progress class="progress zi" max="100"></progress><h2 id="多媒体"><a href="#多媒体" class="headerlink" title="多媒体"></a>多媒体</h2><div class="audio"><audio controls preload><source src="https://yf.heson10.com/Static/music/yaofan.mp3" type="audio/mp3">Your browser does not support the audio tag.</audio></div><div class="video"><video controls preload><source src="https://github.com/volantis-x/volantis-docs/releases/download/assets/IMG_0341.mov" type="video/mp4">Your browser does not support the video tag.</video></div></article><hr><div class="flex banquan p2 flex-column"><div class="flex items-center"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-touxiang"/></svg><p class="h6">版权属于：Heson</p></div><div class="flex items-center"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-ziyuan"/></svg><p class="h6">本文链接：https://www.heson10.com/posts/31061.html</p></div><div class="flex items-center"><svg class="icon" aria-hidden="true"><use xlink:href="#icon-fenxiang"/></svg><p class="h6">作品采用 <a target="_blank" href="https://creativecommons.org/licenses/by/4.0/deed.zh">知识共享署名-非商业性使用-相同方式共享 4.0 国际许可协议 </a>进行许可</p></div></div><hr><div class="flex items-center"><svg class="icon" style="display:inline-block;width:20px;height:20px" aria-hidden="true"><use xlink:href="#icon-biaoqian-copy-copy-copy"/></svg><div class="Post_wysiwyg_tags inline-block overflow-hidden nowrap"><a href="/tags/%E6%A0%87%E7%AD%BE/" style="font-size:10px" class="article-tag-0">标签</a></div></div></div></div><div class="mybox m1"><div class="center pt3 pb1"><p class="bold">—— 评论区 ——</p></div><section class="post white-box reveal" id="comments"><div id="valine_container" class="mx3 px3 pt2 pb3"></div></section></div><script>var GUEST_INFO=["nick","mail","link"],meta="nick,mail,link".split(",").filter(function(i){return-1<GUEST_INFO.indexOf(i)}),REQUIRED_FIELDS=["nick","mail","link"],requiredFields="nick,mail".split(",").filter(function(i){return-1<REQUIRED_FIELDS.indexOf(i)});function emoji(i,e,o){return i+"/"+i+"-"+e+"."+o}for(var emojiMaps={},i=1;i<=54;i++)emojiMaps["tieba-"+i]=emoji("tieba",i,"png");for(i=1;i<=101;i++)emojiMaps["qq-"+i]=emoji("qq",i,"gif");for(i=1;i<=116;i++)emojiMaps["aru-"+i]=emoji("aru",i,"gif");for(i=1;i<=125;i++)emojiMaps["twemoji-"+i]=emoji("twemoji",i,"png");for(i=1;i<=4;i++)emojiMaps["weibo-"+i]=emoji("weibo",i,"png")</script></div></div></div><div id="RightDownBtn" class="fixed p1 yj shadow z4 flex flex-column flex-end"><a id="btn" href="javascript:void(0)" target="_self"><svg style="width:1.5em;height:1.5em" class="icon" aria-hidden="true"><use xlink:href="#icon-xuanfufanhuidingbu"/></svg></a><div class="formobilenav d-d"><a href="javascript:void(0)" onclick="CuteenFunc.SwitchDarkMode()"><svg style="width:1.5em;height:1.5em" class="icon" aria-hidden="true"><use id="modeicon2" xlink:href="#icon-_moon"/></svg></a></div><a id="right-menu" onclick="$("body").toggleClass("rightopen")"><svg style="width:1.5em;height:1.5em" class="icon" aria-hidden="true"><use xlink:href="#icon-ziliaoguizidongshengchengmulu"/></svg> </a><a href="#valine_container"><svg style="width:1.5em;height:1.5em" class="icon" aria-hidden="true"><use xlink:href="#icon-pinglun"/></svg></a></div></div><div id="searchbox"><div class="flex mx2 mb1 mt2"><div class="col-12" action><input autocomplete="off" id="local-search-input" class="input mr1 form-control" name="q" results="0" type="text" placeholder="请输入搜索关键词……" required><div id="local-search-result"></div></div></div><div class="px3 pb3 pt1"><div class="bold h3 mb1"><i class="fas fa-cloud"></i> 标签云</div><ul class="tag-list" itemprop="keywords"><li class="searchbox_tags"><a class="tag-list-link" href="/tags/hexo/" rel="tag">HEXO</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E5%93%94%E5%93%94/" rel="tag">哔哔</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E5%8D%9A%E5%AE%A2/" rel="tag">博客</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E4%B8%BB%E9%A2%98/" rel="tag">主题</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E6%90%AD%E5%BB%BA/" rel="tag">搭建</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E8%AF%B4%E8%AF%B4/" rel="tag">说说</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/next/" rel="tag">NEXT</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E7%BE%8E%E5%8C%96/" rel="tag">美化</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E5%AD%97%E4%BD%93/" rel="tag">字体</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E5%BE%AE%E4%BF%A1/" rel="tag">微信</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E9%83%A8%E7%BD%B2/" rel="tag">部署</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/CDN/" rel="tag">CDN</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E5%9B%BE%E7%89%87/" rel="tag">图片</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E7%BA%AA%E5%BF%B5/" rel="tag">纪念</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/SEO/" rel="tag">SEO</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E4%BC%98%E5%8C%96/" rel="tag">优化</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E8%AF%84%E8%AE%BA/" rel="tag">评论</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/algolia/" rel="tag">ALGOLIA</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E6%90%9C%E7%B4%A2/" rel="tag">搜索</a></li><li class="searchbox_tags"><a class="tag-list-link" href="/tags/%E6%A0%87%E7%AD%BE/" rel="tag">标签</a></li></ul></div></div><footer id="footer" class="mx-auto w100 p3 mt3"><div class="Footer_content center"><p class="h5">&copy; 2020 <a target="_blank" rel="noopener" href="https://www.heson10.com/">黑石博客</a></p><p class="h5"><a href="https://hexo.io/zh-cn/" rel="external nofollow" target="_blank">Hexo</a> 强力驱动 | 主题 <a href="https://blog.zwying.com/archives/39.html" rel="external nofollow" target="_blank">Cuteen</a> | 由 <a href="https://www.heson10.com" title="由 HESON 移植到 Hexo" target="_blank">Heson</a> 移植</p><p class="h5"><span id="lc-sv"><i class="fas fa-eye"></i> &nbsp;<span id="number"><i class="fas fa-circle-notch fa-spin fa-fw" aria-hidden="true"></i></span> 次</span> <span id="lc-uv">&nbsp;&nbsp;<i class="fas fa-user"></i> &nbsp;<span id="number"><i class="fas fa-circle-notch fa-spin fa-fw" aria-hidden="true"></i></span> 人&nbsp;|&nbsp;</span><span id="timeDate">载入天数...</span><span id="times">载入时分秒...</span></p><p class="h5"><svg style="width:1.5em;height:1.5em;vertical-align:middle" class="icon" aria-hidden="true"><use xlink:href="#icon-ICP"/></svg> <a style="vertical-align:middle" href="https://beian.miit.gov.cn" target="_blank" rel="external nofollow">赣ICP备20008960号 </a><a href="https://www.upyun.com/" rel="external nofollow" target="_blank"><img style="vertical-align:middle" src="https://pic.heson10.com/wallpapers/yun_logo6.png" class="lazyload" data-srcset="https://pic.heson10.com/wallpapers/yun_logo6.png" srcset=""></a></p></div></footer><div id="post-menu" class="fixed top-0 bottom-0 h100 z1 table shadow"><div id="MENU"></div></div><script src="https://cdn.jsdelivr.net/gh/zwying0814/Cuteen@v3.1.200810/Static/Js/code-and-copy.min.js"></script><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free@5.13.1/css/all.min.css"><script async src="https://cdn.jsdelivr.net/gh/zwying0814/Cuteen@v3.1.200810/Static/Js/Smooth.js"></script><script src="https://cdn.jsdelivr.net/gh/zwying0814/Cuteen@v3.1.200810/Static/Js/circleMagic.min.js"></script><script async src="https://cdn.jsdelivr.net/gh/zwying0814/Cuteen@v3.1.200810/Static/Js/Player.js"></script><script src="https://cdn.jsdelivr.net/gh/zwying0814/Cuteen@v3.1.200810/Static/Js/sidebar-follow-jquery.js"></script><script src="https://cdn.jsdelivr.net/npm/leancloud-storage@3/dist/av-min.js"></script><script src="https://cdn.jsdelivr.net/gh/heson10/pic@master/js/valine.js"></script><script src="https://cdn.jsdelivr.net/gh/heson10/pic@master/js/Main.js"></script><script src="https://cdn.jsdelivr.net/gh/heson10/pic@master/js/issues.js"></script><script src="https://cdn.jsdelivr.net/npm/jquery-pjax@2.0.1/jquery.pjax.min.js"></script><script src="https://cdn.jsdelivr.net/npm/tiny-slider@2.9.2/dist/tiny-slider.min.js"></script><script>$(document).pjax('a:not(a[target="_blank"], a[no-pjax])',{container:"#pjax",fragment:"#pjax",timeout:8e3}).on("pjax:send",function(){before_pjax()}).on("pjax:complete",function(){after_pjax(),addAlt(),LCCounter.refreshCounter(),colortag(),newcomment(),"undefined"==typeof IssuesAPI&&loadIssuesJS(),_hmt.push(["_trackPageview",document.location.pathname])}).on("pjax:end",function(){end_pjax(),pjax_valine(),IssuesAPI.request(),dingwei(),pjax_fancybox()})</script><script defer>const LCCounter = { app_id: 'C1qWqsDatomXVctTafBuJADI-gzGzoHsz', app_key: 'J4CujIoElz1Wo7yLUbY4SOO5', custom_api_server: 'https://valineapi.heson10.com',
// 查询存储的记录 getRecord(Counter, url, title) { return new Promise(function (resolve, reject) { Counter('get', '/classes/Counter?where=' + encodeURIComponent(JSON.stringify({url}))) .then(resp => resp.json()) .then(({results, code, error}) => { if (code === 401) { throw error; } if (results && results.length > 0) { var record = results[0]; resolve(record); } else { Counter('post', '/classes/Counter', {url, title: title, times: 0}) .then(resp => resp.json()) .then((record, error) => { if (error) { throw error; } resolve(record); }).catch(error => { console.error('Failed to create', error); reject(error); }); } }).catch((error) => { console.error('LeanCloud Counter Error:', error); reject(error); }); }) },
// 发起自增请求 increment(Counter, incrArr) { return new Promise(function (resolve, reject) { Counter('post', '/batch', { "requests": incrArr }).then((res) => { res = res.json(); if (res.error) { throw res.error; } resolve(res); }).catch((error) => { console.error('Failed to save visitor count', error); reject(error); }); }); },
// 构建自增请求体 buildIncrement(objectId) { return { "method": "PUT", "path": `/1.1/classes/Counter/${ objectId }`, "body": { "times": { '__op': 'Increment', 'amount': 1 } } } },
// 校验是否为有效的 UV validUV() { var key = 'LeanCloudUVTimestamp'; var flag = localStorage.getItem(key); if (flag) { // 距离标记小于 24 小时则不计为 UV if (new Date().getTime() - parseInt(flag) <= 86400000) { return false; } } localStorage.setItem(key, new Date().getTime().toString()); return true; },
addCount(Counter) { var enableIncr = 'true' === 'true' && window.location.hostname !== 'localhost'; enableIncr = true; var getterArr = []; var incrArr = []; // 请求 PV 并自增 var pvCtn = document.querySelector('#lc-sv'); if (pvCtn || enableIncr) { var pvGetter = this.getRecord(Counter, 'https://www.heson10.com' + '/#lc-sv', 'Visits').then((record) => { incrArr.push(this.buildIncrement(record.objectId)) var eles = document.querySelectorAll('#lc-sv #number'); if (eles.length > 0) { eles.forEach((el,index,array)=>{ el.innerText = record.times + 1; if (pvCtn) { pvCtn.style.display = 'inline'; } }) } }); getterArr.push(pvGetter); }
// 请求 UV 并自增 var uvCtn = document.querySelector('#lc-uv'); if (uvCtn || enableIncr) { var uvGetter = this.getRecord(Counter, 'https://www.heson10.com' + '/#lc-uv', 'Visitors').then((record) => { var vuv = this.validUV(); vuv && incrArr.push(this.buildIncrement(record.objectId)) var eles = document.querySelectorAll('#lc-uv #number'); if (eles.length > 0) { eles.forEach((el,index,array)=>{ el.innerText = record.times + (vuv ? 1 : 0); if (uvCtn) { uvCtn.style.display = 'inline'; } }) } }); getterArr.push(uvGetter); }
// 请求文章的浏览数，如果是当前页面就自增 var allPV = document.querySelectorAll('#lc-pv'); if (allPV.length > 0 || enableIncr) { for (i = 0; i < allPV.length; i++) { let pv = allPV[i]; let title = pv.getAttribute('data-title'); var url = 'https://www.heson10.com' + pv.getAttribute('data-path'); if (url) { var viewGetter = this.getRecord(Counter, url, title).then((record) => { // 是当前页面就自增 if (pv.getAttribute('data-path') == window.location.pathname) { incrArr.push(this.buildIncrement(record.objectId)); } if (pv) { var ele = pv.querySelector('#lc-pv #number'); if (ele) { if (pv.getAttribute('data-path') == window.location.pathname) { ele.innerText = (record.times || 0) + 1; } else { ele.innerText = record.times || 0; } pv.style.display = 'inline'; } } }); getterArr.push(viewGetter); } } }
// 如果启动计数自增，批量发起自增请求 if (enableIncr) { Promise.all(getterArr).then(() => { incrArr.length > 0 && this.increment(Counter, incrArr); }) }
},

<p>fetchData(api_server) { var Counter = (method, url, data) =&gt; { return fetch(<code>$&#123; api_server &#125;/1.1$&#123; url &#125;</code>, { method, headers: { ‘X-LC-Id’: this.app_id, ‘X-LC-Key’: this.app_key, ‘Content-Type’: ‘application/json’, }, body: JSON.stringify(data) }); }; this.addCount(Counter); },<br>refreshCounter() { var api_server = this.app_id.slice(-9) !== ‘-MdYXbMMI’ ? this.custom_api_server : <code>https://$&#123; this.app_id.slice(0, 8).toLowerCase() &#125;.api.lncldglobal.com</code>; if (api_server) { this.fetchData(api_server); } else { fetch(‘<a target="_blank" rel="noopener" href="https://app-router.leancloud.cn/2/route?appId=&#39;">https://app-router.leancloud.cn/2/route?appId=&#39;</a> + this.app_id) .then(resp =&gt; resp.json()) .then(({api_server}) =&gt; { this.fetchData(‘https://‘ + api_server); }); } }<br>};<br>LCCounter.refreshCounter();</script></body></html><p></p>



            </div>
            <hr/>

            

    <div class="reprint" id="reprint-statement">
        
            <div class="reprint__author">
                <span class="reprint-meta" style="font-weight: bold;">
                    <i class="fas fa-user">
                        文章作者:
                    </i>
                </span>
                <span class="reprint-info">
                    <a href="https://txmu.gitee.io" rel="external nofollow noreferrer">天蝎矛u</a>
                </span>
            </div>
            <div class="reprint__type">
                <span class="reprint-meta" style="font-weight: bold;">
                    <i class="fas fa-link">
                        文章链接:
                    </i>
                </span>
                <span class="reprint-info">
                    <a href="https://txmu.gitee.io/duocai/index.html">https://txmu.gitee.io/duocai/index.html</a>
                </span>
            </div>
            <div class="reprint__notice">
                <span class="reprint-meta" style="font-weight: bold;">
                    <i class="fas fa-copyright">
                        版权声明:
                    </i>
                </span>
                <span class="reprint-info">
                    本博客所有文章除特別声明外，均采用
                    <a href="https://creativecommons.org/licenses/by-nc-sa/4.0/deed.zh" rel="external nofollow noreferrer" target="_blank">CC BY-NC-SA 4.0</a>
                    许可协议。转载请注明来源
                    <a href="https://txmu.gitee.io" target="_blank">天蝎矛u</a>
                    !
                </span>
            </div>
        
    </div>

    <script async defer>
      document.addEventListener("copy", function (e) {
        let toastHTML = '<span>复制成功，请遵循本文的转载规则</span><button class="btn-flat toast-action" onclick="navToReprintStatement()" style="font-size: smaller">查看</a>';
        M.toast({html: toastHTML})
      });

      function navToReprintStatement() {
        $("html, body").animate({scrollTop: $("#reprint-statement").offset().top - 80}, 800);
      }
    </script>



            <div class="tag_share" style="display: block;">
                <div class="post-meta__tag-list" style="display: inline-block;">
                    
                        <div class="article-tag">
                            <span class="chip bg-color">无标签</span>
                        </div>
                    
                </div>
                <div class="post_share" style="zoom: 80%; width: fit-content; display: inline-block; float: right; margin: -0.15rem 0;">
                    <link rel="stylesheet" type="text/css" href="/libs/share/css/share.min.css">
<div id="article-share">

    
    <div class="social-share" data-sites="twitter,facebook,google,qq,qzone,wechat,weibo,douban,linkedin" data-wechat-qrcode-helper="<p>微信扫一扫即可分享！</p>"></div>
    <script src="/libs/share/js/social-share.min.js"></script>
    

    

</div>

                </div>
            </div>
            
        </div>
    </div>

    

    

    
        <div class="disqus-card card" data-aos="fade-up">
    <div id="disqus_thread" class="card-content">
        <noscript>Please enable JavaScript to view the
            <a target="_blank" rel="noopener" href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a>
        </noscript>
    </div>
</div>

<script type="text/javascript">
    disqus_config = function () {
        this.page.url = 'https://txmu.gitee.io/duocai/index.html';
        this.page.identifier = '/duocai/index.html';
        this.page.title = 'duocai';
    };
    let disqus_shortname = 'txmus-blog';

    (function () { // DON'T EDIT BELOW THIS LINE
        let d = document, s = d.createElement('script');
        // 如：s.src = 'https://blinkfox.disqus.com/embed.js';
        s.src = '//' + disqus_shortname + '.disqus.com/embed.js';
        s.setAttribute('data-timestamp', new Date());
        (d.head || d.body).appendChild(s);
    })();
</script>

    

    
    <div class="livere-card card" data-aos="fade-up">
    <!-- 来必力City版安装代码 -->
    <div id="lv-container" class="card-content" data-id="city" data-uid="MTAyMC81MjA4MS8yODU2Mg">
        <script type="text/javascript">
            (function (d, s) {
                let j, e = d.getElementsByTagName(s)[0];
                if (typeof LivereTower === 'function') {
                    return;
                }

                j = d.createElement(s);
                j.src = 'https://cdn-city.livere.com/js/embed.dist.js';
                j.async = true;

                e.parentNode.insertBefore(j, e);
            })(document, 'script');
        </script>
        <noscript>为正常使用来必力评论功能请激活JavaScript。</noscript>
    </div>
    <!-- City版安装代码已完成 -->
</div>
    

    

    
        <style>
    .mvaline-card {
        margin: 1.5rem auto;
    }

    .mvaline-card .card-content {
        padding: 20px 20px 5px 20px;
    }
</style>

<div class="card mvaline-card" data-aos="fade-up">
    <div class="comment_headling" style="font-size: 20px; font-weight: 700; position: relative; padding-left: 20px; top: 15px; padding-bottom: 5px;">
        <i class="fas fa-comments fa-fw" aria-hidden="true"></i>
        <span>评论</span>
    </div>
    <div id="mvcomments" class="card-content" style="display: grid">
    </div>
</div>

<script src="/libs/minivaline/MiniValine.js"></script>
<script>
    new MiniValine({
        el: '#mvcomments',
        appId: 'mlaQQkOrUoPtscRUtQO1TwhE-MdYXbMMI',
        appKey: 'VHSs9ak5YckipGmNzNEtBWc7',
        mode: 'xCss',
        placeholder: 'Write a Comment',
        pathname: window.location.pathname,
        lang: '',
        adminEmailMd5: '86251ccf47d0f84663f6fe544807ff9b',
        tagMeta: ["管理员", "小伙伴", "访客"],
        master: ["de8a7aa53d07e6b6bceb45c64027763d"],
        friends: ["b5bd5d836c7a0091aa8473e79ed4c25e", "adb7d1cd192658a55c0ad22a3309cecf", "3ce1e6c77b4910f1871106cb30dc62b0", "cfce8dc43725cc14ffcd9fb4892d5bfc"],
        math: true,
        md: true,
        enableQQ: false,
        NoRecordIP: false,
        visitor: false,
        maxNest: 6,
        pageSize: 6,
        serverURLs: '',
        emoticonUrl: ["https://cdn.jsdelivr.net/npm/alus@latest", "https://cdn.jsdelivr.net/gh/MiniValine/qq@latest", "https://cdn.jsdelivr.net/gh/MiniValine/Bilibilis@latest", "https://cdn.jsdelivr.net/gh/MiniValine/tieba@latest", "https://cdn.jsdelivr.net/gh/MiniValine/twemoji@latest", "https://cdn.jsdelivr.net/gh/MiniValine/weibo@latest"],
    });
</script>

    

    
        
    <div id="SOHUCS"></div>
    <script type="text/javascript">
        window.onload = function () {
            var loadChangYan = function () {
                var appid = 'cyvbgflax';
                var conf = 'prod_957772c75deef8cc1a2c3eecba5b96ab';
                var width = window.innerWidth || document.documentElement.clientWidth;
                if (width < 960) {
                    var head = document.getElementsByTagName('head')[0] || document.head || document.documentElement;
                    var script = document.createElement('script');
                    script.type = 'text/javascript';
                    script.charset = 'utf-8';
                    script.id = 'changyan_mobile_js';
                    script.src = 'https://cy-cdn.kuaizhan.com/upload/mobile/wap-js/changyan_mobile.js?client_id=' + appid +
                        '&conf=' + conf;
                    head.appendChild(script);
                } else {
                    var loadJs = function (d, a) {
                        var c = document.getElementsByTagName("head")[0] || document.head || document.documentElement;
                        var b = document.createElement("script");
                        b.setAttribute("type", "text/javascript");
                        b.setAttribute("charset", "UTF-8");
                        b.setAttribute("src", d);
                        if (typeof a === "function") {
                            if (window.attachEvent) {
                                b.onreadystatechange = function () {
                                    var e = b.readyState;
                                    if (e === "loaded" || e === "complete") {
                                        b.onreadystatechange = null;
                                        a()
                                    }
                                }
                            } else {
                                b.onload = a
                            }
                        }
                        c.appendChild(b)
                    };
                    loadJs("https://cy-cdn.kuaizhan.com/upload/changyan.js", function () {
                        window.changyan.api.config({
                            appid: appid,
                            conf: conf
                        })
                    });
                }
            }

            loadChangYan();
        }
    </script>

    

    

<article id="prenext-posts" class="prev-next articles">
    <div class="row article-row">
        
        <div class="article col s12 m6" data-aos="fade-up" data-aos="fade-up">
            <div class="article-badge left-badge text-color">
                <i class="far fa-dot-circle"></i>&nbsp;本篇
            </div>
            <div class="card">
                <a href="/duocai/index.html">
                    <div class="card-image">
                        
                        
                        <img src="/medias/featureimages/11.jpg" class="responsive-img" alt="duocai">
                        
                        <span class="card-title">duocai</span>
                    </div>
                </a>
                <div class="card-content article-content">
                    <div class="summary block-with-text">
                        
                            
                        
                    </div>
                    <div class="publish-info">
                            <span class="publish-date">
                                <i class="far fa-clock fa-fw icon-date"></i>2020-11-16
                            </span>
                        <span class="publish-author">
                            
                            <i class="fas fa-user fa-fw"></i>
                            天蝎矛u
                            
                        </span>
                    </div>
                </div>

                
            </div>
        </div>
        
        
        <div class="article col s12 m6" data-aos="fade-up">
            <div class="article-badge right-badge text-color">
                本篇&nbsp;<i class="far fa-dot-circle"></i>
            </div>
            <div class="card">
                <a href="/duocai/index.html">
                    <div class="card-image">
                        
                        
                        <img src="/medias/featureimages/11.jpg" class="responsive-img" alt="duocai">
                        
                        <span class="card-title">duocai</span>
                    </div>
                </a>
                <div class="card-content article-content">
                    <div class="summary block-with-text">
                        
                            
                        
                    </div>
                    <div class="publish-info">
                            <span class="publish-date">
                                <i class="far fa-clock fa-fw icon-date"></i>2020-11-16
                            </span>
                        <span class="publish-author">
                            
                            <i class="fas fa-user fa-fw"></i>
                            天蝎矛u
                            
                        </span>
                    </div>
                </div>

                
            </div>
        </div>
        
    </div>
</article>

</div>


<script>
    $('#articleContent').on('copy', function (e) {
        // IE8 or earlier browser is 'undefined'
        if (typeof window.getSelection === 'undefined') return;

        var selection = window.getSelection();
        // if the selection is short let's not annoy our users.
        if (('' + selection).length < Number.parseInt('120')) {
            return;
        }

        // create a div outside of the visible area and fill it with the selected text.
        var bodyElement = document.getElementsByTagName('body')[0];
        var newdiv = document.createElement('div');
        newdiv.style.position = 'absolute';
        newdiv.style.left = '-99999px';
        bodyElement.appendChild(newdiv);
        newdiv.appendChild(selection.getRangeAt(0).cloneContents());

        // we need a <pre> tag workaround.
        // otherwise the text inside "pre" loses all the line breaks!
        if (selection.getRangeAt(0).commonAncestorContainer.nodeName === 'PRE') {
            newdiv.innerHTML = "<pre>" + newdiv.innerHTML + "</pre>";
        }

        var url = document.location.href;
        newdiv.innerHTML += '<br />'
            + '来源: 天蝎小屋<br />'
            + '文章作者: 天蝎矛u<br />'
            + '文章链接: <a href="' + url + '">' + url + '</a><br />'
            + '本文章著作权归作者所有，任何形式的转载都请注明出处。';

        selection.selectAllChildren(newdiv);
        window.setTimeout(function () {bodyElement.removeChild(newdiv);}, 200);
    });
</script>



<!-- 代码块功能依赖 -->
<script type="text/javascript" src="/libs/codeBlock/codeBlockFuction.js"></script>

<!-- 代码语言 -->


<!-- 代码块复制 -->

<script type="text/javascript" src="/libs/codeBlock/codeCopy.js"></script>


<!-- 代码块收缩 -->

<script type="text/javascript" src="/libs/codeBlock/codeShrink.js"></script>


<!-- 代码块折行 -->

<style type="text/css">
code[class*="language-"], pre[class*="language-"] { white-space: pre !important; }
</style>


    </div>
    <div id="toc-aside" class="expanded col l3 hide-on-med-and-down">
        <div class="toc-widget card" style="background-color: white;">
            <div class="toc-title"><i class="far fa-list-alt"></i>&nbsp;&nbsp;目录</div>
            <div id="toc-content"></div>
        </div>
    </div>
</div>

<!-- TOC 悬浮按钮. -->

<div id="floating-toc-btn" class="hide-on-med-and-down">
    <a class="btn-floating btn-large bg-color">
        <i class="fas fa-list-ul"></i>
    </a>
</div>


<script src="/libs/tocbot/tocbot.min.js"></script>
<script>
    $(function () {
        tocbot.init({
            tocSelector: '#toc-content',
            contentSelector: '#articleContent',
            headingsOffset: -($(window).height() * 0.4 - 45),
            collapseDepth: Number('0'),
            headingSelector: 'h1, h2, h3, h4, h5, h6'
        });

        // modify the toc link href to support Chinese.
        let i = 0;
        let tocHeading = 'toc-heading-';
        $('#toc-content a').each(function () {
            $(this).attr('href', '#' + tocHeading + (++i));
        });

        // modify the heading title id to support Chinese.
        i = 0;
        $('#articleContent').children('h1, h2, h3, h4, h5, h6').each(function () {
            $(this).attr('id', tocHeading + (++i));
        });

        // Set scroll toc fixed.
        let tocHeight = parseInt($(window).height() * 0.4 - 64);
        let $tocWidget = $('.toc-widget');
        $(window).scroll(function () {
            let scroll = $(window).scrollTop();
            /* add post toc fixed. */
            if (scroll > tocHeight) {
                $tocWidget.addClass('toc-fixed');
            } else {
                $tocWidget.removeClass('toc-fixed');
            }
        });

        
        /* 修复文章卡片 div 的宽度. */
        let fixPostCardWidth = function (srcId, targetId) {
            let srcDiv = $('#' + srcId);
            if (srcDiv.length === 0) {
                return;
            }

            let w = srcDiv.width();
            if (w >= 450) {
                w = w + 21;
            } else if (w >= 350 && w < 450) {
                w = w + 18;
            } else if (w >= 300 && w < 350) {
                w = w + 16;
            } else {
                w = w + 14;
            }
            $('#' + targetId).width(w);
        };

        // 切换TOC目录展开收缩的相关操作.
        const expandedClass = 'expanded';
        let $tocAside = $('#toc-aside');
        let $mainContent = $('#main-content');
        $('#floating-toc-btn .btn-floating').click(function () {
            if ($tocAside.hasClass(expandedClass)) {
                $tocAside.removeClass(expandedClass).hide();
                $mainContent.removeClass('l9');
            } else {
                $tocAside.addClass(expandedClass).show();
                $mainContent.addClass('l9');
            }
            fixPostCardWidth('artDetail', 'prenext-posts');
        });
        
    });
</script>

    

</main>




    <footer class="page-footer bg-color">
    
    <div class="container row center-align" style="margin-bottom: 15px !important;">
        <div class="col s12 m8 l8 copy-right">
            Copyright&nbsp;&copy;
            <span id="year">2020</span>
            <a href="/about" target="_blank">天蝎矛u</a>
            |&nbsp;Powered by&nbsp;<a href="https://hexo.io/" target="_blank">Hexo</a>
            |&nbsp;Theme&nbsp;<a href="https://github.com/blinkfox/hexo-theme-matery" target="_blank">Matery</a>
            <br>
            
            &nbsp;<i class="fas fa-chart-area"></i>&nbsp;站点总字数:&nbsp;<span
                class="white-color">14.8k</span>&nbsp;字
            
            
            
            
            
            
            <span id="busuanzi_container_site_pv">
                |&nbsp;<i class="far fa-eye"></i>&nbsp;总访问量:&nbsp;<span id="busuanzi_value_site_pv"
                    class="white-color"></span>&nbsp;次
            </span>
            
            
            <span id="busuanzi_container_site_uv">
                |&nbsp;<i class="fas fa-users"></i>&nbsp;总访问人数:&nbsp;<span id="busuanzi_value_site_uv"
                    class="white-color"></span>&nbsp;人
            </span>
            
            <br>
            
            <span id="sitetime">载入运行时间...</span>
            <script>
                function siteTime() {
                    var seconds = 1000;
                    var minutes = seconds * 60;
                    var hours = minutes * 60;
                    var days = hours * 24;
                    var years = days * 365;
                    var today = new Date();
                    var startYear = "2020";
                    var startMonth = "10";
                    var startDate = "08";
                    var startHour = "12";
                    var startMinute = "26";
                    var startSecond = "33";
                    var todayYear = today.getFullYear();
                    var todayMonth = today.getMonth() + 1;
                    var todayDate = today.getDate();
                    var todayHour = today.getHours();
                    var todayMinute = today.getMinutes();
                    var todaySecond = today.getSeconds();
                    var t1 = Date.UTC(startYear, startMonth, startDate, startHour, startMinute, startSecond);
                    var t2 = Date.UTC(todayYear, todayMonth, todayDate, todayHour, todayMinute, todaySecond);
                    var diff = t2 - t1;
                    var diffYears = Math.floor(diff / years);
                    var diffDays = Math.floor((diff / days) - diffYears * 365);
                    var diffHours = Math.floor((diff - (diffYears * 365 + diffDays) * days) / hours);
                    var diffMinutes = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours) /
                        minutes);
                    var diffSeconds = Math.floor((diff - (diffYears * 365 + diffDays) * days - diffHours * hours -
                        diffMinutes * minutes) / seconds);
                    if (startYear == todayYear) {
                        document.getElementById("year").innerHTML = todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffDays + " 天 " + diffHours +
                            " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    } else {
                        document.getElementById("year").innerHTML = startYear + " - " + todayYear;
                        document.getElementById("sitetime").innerHTML = "本站已安全运行 " + diffYears + " 年 " + diffDays +
                            " 天 " + diffHours + " 小时 " + diffMinutes + " 分钟 " + diffSeconds + " 秒";
                    }
                }
                setInterval(siteTime, 1000);
            </script>
            
            <br>
            
        </div>
        <div class="col s12 m4 l4 social-link social-statis">
    <a href="https://github.com/txmu" class="tooltipped" target="_blank" data-tooltip="访问我的GitHub" data-position="top" data-delay="50">
        <i class="fab fa-github"></i>
    </a>



    <a href="mailto:wskkkhs@163.com" class="tooltipped" target="_blank" data-tooltip="邮件联系我" data-position="top" data-delay="50">
        <i class="fas fa-envelope-open"></i>
    </a>







    <a href="tencent://AddContact/?fromId=50&fromSubId=1&subcmd=all&uin=3279366915" class="tooltipped" target="_blank" data-tooltip="QQ联系我: 3279366915" data-position="top" data-delay="50">
        <i class="fab fa-qq"></i>
    </a>







    <a href="/atom.xml" class="tooltipped" target="_blank" data-tooltip="RSS 订阅" data-position="top" data-delay="50">
        <i class="fas fa-rss"></i>
    </a>

</div>
    </div>

<div class="progress-bar"></div>
<p style="text-align:center;"><a target="_blank" rel="noopener" href="https://support.qq.com/product/293860">
兔小巢反馈</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a href="/artitalk/">我的说说A</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a href="/bb/">我的说说B</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a href="/blockmap/">块图页游</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a href="/friends/">友情链接</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a href="https://txmu.gitee.io/">gitee主站</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a target="_blank" rel="noopener" href="https://txmu.github.io/">github备用站</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a target="_blank" rel="noopener" href="https://txmunb.avosapps.us/">leancloud不稳定镜像站</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a target="_blank" rel="noopener" href="https://txmu.code.blog/">wordpress.com站</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a target="_blank" rel="noopener" href="https://txmu.typetype.me/">typetype站</a></p>

<div class="progress-bar"></div>
<p style="text-align:center;"><a target="_blank" rel="noopener" href="http://txmu.wikidot.com/">wikidot站（唯一一个不支持免费ssl证书的）</a></p>

</footer>


    <!-- 搜索遮罩框 -->
<div id="searchModal" class="modal">
    <div class="modal-content">
        <div class="search-header">
            <span class="title"><i class="fas fa-search"></i>&nbsp;&nbsp;搜索</span>
            <input type="search" id="searchInput" name="s" placeholder="请输入搜索的关键字"
                   class="search-input">
        </div>
        <div id="searchResult"></div>
    </div>
</div>

<script src="/js/search.js"></script>
<script type="text/javascript">
$(function () {
    searchFunc('/search.xml', 'searchInput', 'searchResult');
});
</script>

    <!-- 回到顶部按钮 -->
<div id="backTop" class="top-scroll">
    <a class="btn-floating btn-large waves-effect waves-light" href="#!">
        <i class="fas fa-arrow-up"></i>
    </a>
</div>


    <script src="/libs/materialize/materialize.min.js"></script>
    <script src="/libs/masonry/masonry.pkgd.min.js"></script>
    <script src="/libs/aos/aos.js"></script>
    <script src="/libs/scrollprogress/scrollProgress.min.js"></script>
    <script src="/libs/lightGallery/js/lightgallery-all.min.js"></script>
    <script src="/js/matery.js"></script>

    <!-- Baidu Analytics -->

    <!-- Baidu Push -->

<script>
    (function () {
        var bp = document.createElement('script');
        var curProtocol = window.location.protocol.split(':')[0];
        if (curProtocol === 'https') {
            bp.src = 'https://zz.bdstatic.com/linksubmit/push.js';
        } else {
            bp.src = 'http://push.zhanzhang.baidu.com/push.js';
        }
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(bp, s);
    })();
</script>

    
    <script src="/libs/others/clicklove.js" async="async"></script>
    
    
    <script async src="/libs/others/busuanzi.pure.mini.js"></script>
    

    
        <script src="//code.tidio.co/tcbmof3wizogepbhstb7xipuem2342ls.js"></script>
        <script>
            $(document).ready(function () {
                setInterval(change_Tidio, 50);
                function change_Tidio() {
                    var tidio=$("#tidio-chat iframe");
                    if(tidio.css("display")=="block"&& $(window).width()>977 ){
                        document.getElementById("tidio-chat-iframe").style.bottom= ($("div#backTop.top-scroll").css("display")=="none" &&$(window).width()>977)>0? "-40px" : ($("div.toc-title").length&&$(window).width()>977)>0?"85px":"20px";
                        document.getElementById("tidio-chat-iframe").style.right="-15px";
                        document.getElementById("tidio-chat-iframe").style.height=parseInt(tidio.css("height"))>=520?"520px":tidio.css("height");
                        document.getElementById("tidio-chat-iframe").style.zIndex="997";
                    }
                    else if(tidio.css("display")=="block"&&$(window).width()>601 &&$(window).width()<992 ){
                        document.getElementById("tidio-chat-iframe").style.bottom= ($("div#backTop.top-scroll").css("display")=="none" && 601< $(window).width()<992)>0? "-40px":"20px" ;
                        document.getElementById("tidio-chat-iframe").style.right="-15px";
                        document.getElementById("tidio-chat-iframe").style.zIndex="997";
                    }
                    else if(tidio.css("display")=="block"&&$(window).width()<601 && parseInt(tidio.css("height"))<230){
                        document.getElementById("tidio-chat-iframe").style.bottom= ($("div#backTop.top-scroll").css("display")=="none" && $(window).width()<601)>0? "-10px":"45px" ;
                        document.getElementById("tidio-chat-iframe").style.zIndex="997";
                    }
                    if( tidio.css("display")=="block"&&$(window).width()<601 && parseInt(tidio.css("height"))>=230){
                        document.getElementById("tidio-chat-iframe").style.zIndex="998";
                    }
                }
            });
        </script>
    

    
    <script>
        (function (i, s, o, g, r, a, m) {
            i["DaoVoiceObject"] = r;
            i[r] = i[r] || function () {
                (i[r].q = i[r].q || []).push(arguments)
            }, i[r].l = 1 * new Date();
            a = s.createElement(o), m = s.getElementsByTagName(o)[0];
            a.async = 1;
            a.src = g;
            a.charset = "utf-8";
            m.parentNode.insertBefore(a, m)
        })(window, document, "script", ('https:' == document.location.protocol ? 'https:' : 'http:') +
            "//widget.daovoice.io/widget/6984b559.js", "daovoice")
        daovoice('init', {
            app_id: "61242809"
        });
        daovoice('update');
    </script>
    

	
    

    

    

    
    <script src="/libs/instantpage/instantpage.js" type="module"></script>
    

</body>

</html>
